const express = require('express');
const router = express.Router();
const data_handler = require('../router_handler/data');
const expressJoi = require('@escook/express-joi');

// 查询员工流动数据
router.get('/getUserData', data_handler.getUserData);

// 考勤人数(全公司，部门1，部门2)
router.get('/getAttendanceData',data_handler.getAttendanceData);

// 查询项目情况
router.get('/getProjectData', data_handler.getProjectData);

// 查询工资流动情况
router.get('/getSalaryData', data_handler.getSalaryData);

module.exports = router;